"""健康检查接口类型."""

from datetime import datetime
from typing import Annotated, Literal

from pydantic import BaseModel, ConfigDict, Field
from pydantic.alias_generators import to_camel


class HealthCheckResponse(BaseModel):
    """健康检查响应."""

    model_config = ConfigDict(alias_generator=to_camel)

    status: Annotated[Literal["healthy"], Field(description="状态")]
    timestamp: Annotated[datetime, Field(description="时间戳")]
